<div id="content-container" class="container">
    <div class="user-section login-section clearfix">
        <!--<div class="logon-tab clearfix"> <a href="{:url('user/login')}?url={$url|urlencode}">{:__('Sign in')}</a> <a class="active">{:__('Sign up')}</a> </div>-->
        <div class="logon-tab" style="text-align:center;color:#999"> <span class="active" style="font-size: 18px;color: #18b4ed;font-weight: bold;padding-top:10px;" href="javascript:;">{if $cn_name}{$cn_name}在线做题{else}助考宝典在线做题{/if}</span><br>考前练习/圈题/视频/提分卷</div>
        <div class="login-main">
            <form name="form1" id="register-form" class="form-vertical" method="POST" action="">
                <input type="hidden" name="invite_user_id" value="0" />
                <input type="hidden" name="url" value="{$url}" />
                <input type="hidden" name="ename" value="{$ename}" />
                <input type="hidden" name="source" value="{$source}" />
                {:token()}
                <!--
                <div class="form-group">
                    <label class="control-label required">{:__('Email')}<span class="text-success"></span></label>
                    <div class="controls">
                        <input type="text" name="email" id="email" data-rule="required;email" class="form-control input-lg" placeholder="{:__('Email')}">
                        <p class="help-block"></p>
                    </div>
                </div>
                -->

                <!--
                <div class="form-group">
                    <label class="control-label">{:__('Username')}</label>
                    <div class="controls">
                        <input type="text" id="username" name="username" data-rule="required;username" class="form-control input-lg" placeholder="{:__('Username must be 3 to 30 characters')}">
                        <p class="help-block"></p>
                    </div>
                </div>
                -->
                <div>
                    <div class="controls">
                        <div class="inline">
                            <label class="text-warning">
                                
                            </label>
                        </div>
                        <div class="pull-right text-primary"><a href="https://vip.niukewang.com/user/register/zhukao/?ename={$ename}&source={$source}">注册</a>/<a href="https://vip.niukewang.com/user/login/zhukao/?ename={$ename}&source={$source}">登陆</a></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="controls input-group input-group-lg">
						<span class="input-group-addon"><span class="glyphicon glyphicon-phone"></span></span>
                        <input type="text" id="mobile" name="mobile" data-rule="required;mobile" class="form-control input-lg" placeholder="{:__('请输入账号/手机号')}">
                        <p class="help-block"></p>
                    </div>
                </div>
				<div class="form-group">
                    <div class="controls input-group input-group-lg">
                        <div class="input-group">
						<span class="input-group-addon" style="padding: 10px 16px;font-size: 15px;"><span class="glyphicon glyphicon-lock"></span></span>
                            <input type="text" name="captcha" class="form-control input-lg" data-rule="required;length(4);integer[+];remote({:url('api/validate/check_sms_correct')}, event='rcaptcha', mobile:#mobile)" />
							<span class="input-group-btn" style="padding:0;border:none;">
								<a href="javascript:;" class="btn btn-success btn-captcha btn-lg" data-url="{:url('api/sms/sendz')}" data-type="mobile" data-event="rcaptcha">获取验证码</a>
							</span>
                        </div>
                    </div>
                </div>
               <!--  <div class="form-group">
                    <div class="controls input-group input-group-lg">
						<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                        <input type="password" id="password" name="password" data-rule="required;password" class="form-control input-lg" placeholder="{:__('Password must be 6 to 30 characters')}">
                        <p class="help-block"></p>
                    </div>
                </div> -->

                {if $captchaType}
                <div class="form-group">
                    <div class="controls">
                        <div class="input-group">
                            {include file="index@common/captcha" event="register" type="$captchaType" /}
                        </div>
                    </div>
                </div>
                {/if}

                <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-lg btn-block">立即注册</button>
					<p align="center"><input type="checkbox" name="agreebox" id="agreebox" style="margin-right: 10px;"><a href="">注册即表示您同意<span>《使用协议》</span></a></p>
                </div>
            </form>
        </div>
    </div>
</div>
